package com.ruoyi.serve.mapper;

import com.ruoyi.serve.domain.VerFreeDesign;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * 免费设计服务Mapper接口
 *
 * @author ruoyi
 * @date 2025-09-10
 */
@Mapper
public interface VerFreeDesignMapper {

    /**
     * 新增免费设计服务
     *
     * @param verFreeDesign 免费设计服务
     * @return 结果
     */
    int insertVerFreeDesign(VerFreeDesign verFreeDesign);

    /**
     * 获取最大id
     *
     * @return
     */
    @Select("select max(id) from ver_free_design")
    Long getMaxId();

}
